/* 固定导航栏 */
body {
    background-color: #f5f5f5;
}

.container {
    min-width: 320px;
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
}

.top_box {
    height: 40px;
    width: 100%;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
}

.top {
    min-width: 320px;
    max-width: 640px;
    width: 100%;
    height: 40px;
    margin: 0 auto;
    background-color: rgba(255, 0, 0, 0);
    position: relative;
}

.top .logo.icon-logo {
    position: absolute;
    top: 4px;
    left: 10px;
    width: 60px;
    height: 35px;
    background-position: 0 -103px;
}

.top form {
    width: 100%;
    padding-left: 74px;
    padding-right: 50px;
    position: relative;
}

.top form .icon-search {
    position: absolute;
    top: 4px;
    left: 84px;
    width: 23px;
    height: 26px;
    background-position: -60px -103px;
}

.top form input {
    width: 100%;
    height: 30px;
    margin-top: 5px;
    padding-left: 40px;
    color: #333;
    border-radius: 15px;
}

.top .login-text {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.top .login-text a {
    color: #fff;
}

/* 轮播图部分 */
.banner {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.banner ul:first-child {
    width: 1000%;
    transform: translateX(-10%);
    -webkit-transform: translateX(-10%);
}

.banner ul:first-child li {
    width: 10%;
    float: left;
}

.banner ul:first-child li img {
    width: 100%;
}

.banner ul:last-child {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
}

.banner ul:last-child li {
    float: left;
    width: 6px;
    height: 6px;
    margin-left: 8px;
    border-radius: 50%;
    border: 1px solid #fff;
}

.banner ul:last-child li:first-child {
    margin: 0;
}

.banner ul:last-child li.now {
    background-color: #fff;
}

/* 导航栏部分 */

.nav ul {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    padding: 10px 0;
}

.nav ul li {
    width: 25%;
    text-align: center;
}

.nav ul li a img {
    width: 40px;
    height: 40px;
    margin: 0 auto;
}

.nav ul li a p {
    margin: 4px 0;
}


/* 内容部分 */
.section {
    padding: 0 10px;
    margin-top: 20px;
}

.section .sec-box {
    background-color: #fff;
    margin-top: 10px;
}

.section .sec-box .tit {
    height: 35px;
    padding: 4px;
}



.sk .tit .title {
    float: left;
    line-height: 28px;
    color: #D8505C;
}

.sk .tit .title img {
    width: 20px;
    height: 25px;
    display: inline-block;
    vertical-align: middle;
    margin: -4px 10px 0;
}

.sk .tit .time {
    float: left;
    margin-top: 6px;
    margin-left: 10px;
}

.sk .tit .time span {
    float: left;
    width: 16px;
    height: 16px;
    color: #fff;
    background-color: #000;
    text-align: center;
    line-height: 16px;
    margin: 0 2px;
}

.sk .tit .time span:nth-child(3n) {
    color: #000;
    background-color: #fff;
    width: 4px;
    height: 16px;
}

.sk .tit .more {
    float: right;
    line-height: 28px;
}

.sk .bd {
    display: flex;
    margin-top: 10px;
}

.sk .bd div {
    flex: 1;
}

.sk .sk_goods a {
    display: block;
    border-right: 1px solid #ccc;
}

.sk .sk_goods:last-child a {
    border-right: none;
}

.sk .sk_goods img {
    width: 64%;
    margin: 0 auto;
}

.sk .sk_goods p {
    font-size: 12px;
    text-align: center;
}

.sk .sk_goods .now_price {
    margin: 10px 0 12px;
    color: #D8505C;
}

.sk .sk_goods .old_price {
    margin-bottom: 12px;
    text-decoration: line-through;
}

.sec-box .tit.b_b {
    border-bottom: 1px solid #ccc;
}

.sec-box .tit.b_b h3 {
    font-weight: 400;
    padding-left: 16px;
    line-height: 28px;
}

.sec-box .tit.b_b h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 14px;
    background-color: #D8505C;
    vertical-align: middle;
    margin-top: -4px;
    margin-right: 8px;
}

.sec-box .bd>a {
    width: 50%;
}

.sec-box .bd>a img {
    width: 100%;
}